<html>
<script>
function doEscape() {
document.escapetest.escaped.value = escape(document.escapetest.original.value);
}
</script>

<form id="encodeTest">
<p>Input String: <input name="input" type="text" value="http://hassaku.main.jp/blog/"></p>

<table>
<tr>
<td><input type="button" value="escape" onclick="encodeTest.escape2.value=escape(encodeTest.input.value)" size="40"></td>
<td><input name="escape2" type="text" value=""></td>
<td><input type="button" value="unescape" onclick="encodeTest.escape3.value=unescape(encodeTest.escape2.value)"></td>
<td><input name="escape3" type="text" value=""></td>
</tr>
<tr>
<td><input type="button" value="encodeURI" onclick="encodeTest.encodeURI2.value=encodeURI(encodeTest.input.value)" size="40"></td>
<td><input name="encodeURI2" type="text" value=""></td>
<td><input type="button" value="decodeURI" onclick="encodeTest.encodeURI3.value=decodeURI(encodeTest.encodeURI2.value)"></td>
<td><input name="encodeURI3" type="text" value=""></td>
</tr>
<tr>
<td><input type="button" value="encodeURIC" onclick="encodeTest.encodeURIComponent2.value=encodeURIComponent(encodeTest.input.value)" size="40"></td>
<td><input name="encodeURIComponent2" type="text" value=""></td>
<td><input type="button" value="decodeURIC" onclick="encodeTest.encodeURIComponent3.value=decodeURIComponent(encodeTest.encodeURIComponent2.value)"></td>
<td><input name="encodeURIComponent3" type="text" value=""></td>
</tr>
</table>
<form>

</html>